package com.i8office.android.zhihuixinwu.module.contract;

import com.cyan.tools.base.BasePresenter;
import com.cyan.tools.base.BaseView;
import com.cyan.tools.callback.RequestCallback;
import com.i8office.android.zhihuixinwu.bean.Empl;
import com.i8office.android.zhihuixinwu.bean.NewsAttachment;
import com.i8office.android.zhihuixinwu.bean.WorkSheet;

import java.util.List;
import java.util.Map;

import io.reactivex.disposables.Disposable;

/**
 * Created by pc on 2018/7/7.
 */

public interface AttachmentContract {
    interface Model {
        Disposable getAttachments(RequestCallback<List<NewsAttachment>> callback, String id);
    }

    interface View extends BaseView {
        void showAttachments(List<NewsAttachment> attachments);
    }

    interface Presenter extends BasePresenter {
        void getAttachments(String id);
    }
}
